﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SysManage.Module.Edu
{
    public partial class PartyEduSubjectExport : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }


        #region 事件
        protected void PageManager1_CustomEvent(object sender, FineUI.CustomEventArgs e)
        {
            if (e.EventArgument == "Confirm_OK")
            {
                // 非AJAX回发
                Response.ClearContent();
                Response.AddHeader("content-disposition", "attachment; filename=alert_download.txt");
                Response.ContentType = "text/plain";
                Response.ContentEncoding = System.Text.Encoding.UTF8;
                Response.Write("这是下载文件的内容！");
                Response.End();
            }
        }
        #endregion
    }
}